package com.simple.datax.db.mybatis.client;

import com.simple.datax.db.mybatis.model.DataxProcing;
import com.simple.datax.db.mybatis.model.DataxProcingCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 
 * @author paladin
 * 
 */
public interface DataxProcingMapper {
	int countByExample(DataxProcingCriteria example);

	int deleteByExample(DataxProcingCriteria example);

	int deleteByPrimaryKey(String recvRawMsgid);

	int insert(DataxProcing record);

	int insertSelective(DataxProcing record);

	List<DataxProcing> selectByExample(DataxProcingCriteria example);
	
	List<DataxProcing> selectByTimeBefore(int minutes);

	DataxProcing selectByPrimaryKey(String recvRawMsgid);

	int updateByExampleSelective(@Param("record") DataxProcing record,
			@Param("example") DataxProcingCriteria example);

	int updateByExample(@Param("record") DataxProcing record,
			@Param("example") DataxProcingCriteria example);

	int updateByPrimaryKeySelective(DataxProcing record);

	int updateByPrimaryKey(DataxProcing record);
}